@extends('shared.master')

@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-12">
            <ol class="breadcrumb layout-title">
                <li><a href="{{url('usergroup')}}">Priority</a></li>
                <li class="active" ><i class="fa fa-user fa-fw"></i> Input</li>
            </ol>
                {{PageData::Error()}}

            <div class="col-lg-6">
                {{ Form::open(array('url' => '#')) }}
                <div class="form-group">
                    {{Form::label('name','Name *')}}
                    {{Form::text('name',$Model->getName(),array('class'=>'form-control'))}}
                </div>
                <div class="form-group">
                    {{Form::label('level','Level')}}
                    {{Form::text('level',$Model->getLevel(),array('class'=>'form-control'))}}   
                </div>
                <div class="form-group">
                    {{Form::label('description','Description')}}
                    {{Form::textarea('description',$Model->getDescription(),array('class'=>'form-control'))}}
                </div>
                <p>
                    {{Form::submit('Save',array('class'=>'btn btn-primary',"name"=>"Action",))}}
                    {{Form::button('Close',array('class'=>'btn btn-primary','onClick'=>"location.href='".url('priority')."'"))}}
                </p>
                {{ Form::close() }}
            </div>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
</div>
<!-- /.container-fluid -->
    <script>
    
    </script>
@stop